﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Collections.ObjectModel;

namespace Prism.Collections.Generic
{
    public interface ITree<NodeType, ValueType>
        where NodeType : TreeNode<ValueType>
    {
        void Add(NodeType parentNode, NodeType childNode, ValueType value);
        void RemoveLeaf(NodeType node);
        void Clear();
        NodeType TopNode { get; }
    }
}
